package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {


     void CancelOrder(Long id) ;

    OrderSubmitVO sumbitShoppingCart(OrdersSubmitDTO dto);

    PageResult pageQuery(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderVO getOrderDetailList(long id);

    void orderAgain(Long id);

    PageResult adminPageQuery(OrdersPageQueryDTO pageQueryDTO);

    OrderStatisticsVO getStatis();

    OrderVO getById(Long id);

    void acceptOrder(Long id);

    void rejectOrder(OrdersRejectionDTO dto);

    void AdminCancelOrder(OrdersCancelDTO dto);

    void deliverOrder(Long id);

    void completeOrder(Long id);

    void paymentOrder(OrdersPaymentDTO dto);

    void reminderOrder(Long id);
}
